public class TraceManagerFactory
extends java.lang.Object
The TraceManagerFactory
class is a class by which applications obtain a TraceManager
object. The TraceModule passed in the constructor is registered in a list. The list can be
enumerated using the getModules()
method.
Modifier and Type | Method and Description |
---|---|
static java.util.Enumeration |
getModules()
Returns an enumeration of the TraceModules registered with this factory.
|
static TraceManager |
registerModule(TraceModule module)
Returns an instance of a TraceManager object.
|
static TraceManager |
registerModule(TraceModule module,
java.lang.String[] subFacilities,
TraceWriterManager traceWriterManager)
Returns an instance of a TraceManager object.
|
static TraceManager |
registerModule(TraceModule module,
TraceWriterManager traceWriterManager)
Returns an instance of a TraceManager object.
|
public static TraceManager registerModule(TraceModule module, java.lang.String[] subFacilities, TraceWriterManager traceWriterManager)
public static TraceManager registerModule(TraceModule module, TraceWriterManager traceWriterManager)
public static TraceManager registerModule(TraceModule module)
public static java.util.Enumeration getModules()